package com.star.mall.persistence.service;

import com.star.mall.persistence.entity.Menu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * 系统菜单表  服务类
 * </p>
 *
 * @author StarQ
 * @since 2021-03-14
 */
public interface IMenuService extends IService<Menu> {

    List<Menu> getCurrentMenus();

    List<Menu> getMenusByUserId(String userId);

    List<Menu> getMenusByAlias(Set<String> alias);

    List<Menu> getMenusByRoleIds(Set<String> roleIds);
}
